
#include "main.h"

struct jy901
{
	
	int16_t Ax,Ay,Az,Tm;
	int16_t Wx,Wy,Wz;
	int16_t Rx,Ry,Rz;
	int16_t Hx,Hy,Hz;
};
struct zitai
{
	float Az_f,Wz_f,Rz_f;
	float Az_f0,Wz_f0,Rz_f0;
//	float Akmf,wkmf,rkmf;
	int times;
};

uint16_t get901s(uint8_t *str,uint16_t len);
void get901ss(uint8_t *str,uint16_t len);
struct jy901 * get901d(void);
struct zitai *getzt_f(void);
void set_point_zt(void);
void concludRtz(int16_t zt);

